package com.atguigu.cloud.sevice;

import com.atguigu.cloud.entities.Shopcar;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @Auter zzh
 * @Date 2024/11/13
 */
public interface ShopcarService {
    Shopcar getById(Integer id);
    List<Shopcar> getAll();
    int add(Shopcar shopcar);
    int delete(Integer id);
    int update(Shopcar shopcar);


    Page<Shopcar> Pageuserfind(Integer currentPage, Integer pageSize, Integer userid);
}
